package cn.dulian.myssm.myspringmvc.util;

/**
 * @author dulian
 * @create 2022-04-07 18:19
 */
public class StringUtil {
    //判断字符串是否为Null 或"
    public static boolean isEmpty(String str){
        return str==null ||"".equals(str);
    }

    public static boolean isNotEmpty(String str){
        return !isEmpty(str);
    }
}
